import i18n from '@src/locales'
import { getCommonDefaultLangForKey } from '@src/component/util/multiLang/index';

export const defaultCalculationFields = () => [{
	fieldName: 'qualityStartDate',
	formType: 'date',
	fixedCalculation: true,
	displayName: i18n.t('common.form.preview.qualityInfoField.label1'),
	displayNameLanguage: getCommonDefaultLangForKey('common.form.preview.qualityInfoField.label1'),
	tableName: 'catalog'
}, {
	fieldName: 'qualityDuration',
	formType: 'number',
	fixedCalculation: true,
	displayName: i18n.t('common.form.preview.qualityInfoField.label2'),
	displayNameLanguage: getCommonDefaultLangForKey('common.form.preview.qualityInfoField.label2'),
	tableName: 'catalog'
}]